package cn.stronglink.asset.module.lightData.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import cn.stronglink.asset.model.LightData;
import cn.stronglink.asset.model.LightU;

public interface LightDataMapper {
	void insertLightData(LightData lightData);

	void updateStatus(@Param("devAddrCode") String devAddrCode, @Param("lightStatus") boolean lightStatus);

	List<LightData> getDataJson(@Param("devAddrCode") String devAddrCode);
	
	LightData qryByU(@Param("devAddrCode") String rackCode, @Param("u") Integer u);

	void updateJsonData(LightData data);

	void updateLightU(LightU lightU);

	void insertLightU(LightU lightU);

	void updateLightUStatus(@Param("timeStemp") Long timeStemp,@Param("lightStatus") boolean b);

	LightU getLightU(@Param("timeStemp") Long timestemp);

	String qryLightU(@Param("assetId") Long assetId);

	void updateLightCount(@Param("timeStamp") Long timeStamp);

	void deleteLightU(@Param("timeStamp") Long timeStamp);

	
	
	
	

}
